home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / relnotes / ftn77_dev / ch4.z / ch4
Encoding:
Text File  |  2002-10-08  |  10.7 KB  |  462 lines

  1.  
  2.  
  3.  
  4.                                                - 1 -
  5.  
  6.  
  7.  
  8.                     7.3 FORTRAN 77 Release Notes
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                                                - 2 -
  69.  
  70.  
  71.  
  72.                     4.  _N_e_w__F_e_a_t_u_r_e_s
  73.  
  74.                     This chapter lists the FORTRAN 77 enhancements
  75.                     for the MIPSpro 7.3 release.  These enhancements
  76.                     are available only when the -craylibs option is
  77.                     used on the compiler command line.
  78.  
  79.  
  80.                     4.1  _N_e_w__C_o_m_p_i_l_e_r__O_p_t_i_o_n_s
  81.  
  82.                     The following sections describe new compiler
  83.                     options.
  84.  
  85.  
  86.                     4.1.1  _S_t_a_t_i_c__V_a_r_i_a_b_l_e_s
  87.  
  88.                     The -static_thread_private option converts
  89.                     common blocks to taskcommon blocks, allowing
  90.                     each processor to have a private copy of saved
  91.                     variables.
  92.  
  93.  
  94.                     4.1.2  _I_n_t_e_r_p_r_o_c_e_d_u_r_a_l__P_a_r_a_l_l_e_l_i_z_a_t_i_o_n
  95.  
  96.                     The -ipa option invokes the Interprocedural
  97.                     Analyzer option group. This is a new alias for
  98.                     -IPA:=ON.  Compiling with the -ipa and -pfa
  99.                     options together instructs the compiler to
  100.                     perform interprocedural parallelization.  The
  101.                     compiler applies a sophisticated analysis to
  102.                     determine when it can parallelize loops with
  103.                     calls.
  104.  
  105.  
  106.                     4.1.3  _L_i_s_t_i_n_g__C_o_n_t_r_o_l
  107.  
  108.                     The -flist option invokes the Fortran listing
  109.                     control group.  This is equivalent to
  110.                     -FLIST:=ON.
  111.  
  112.                     The emit_omp=_f_l_a_g suboption to the -FLIST option
  113.                     directs the compiler to use OpenMP(TM)
  114.                     directives (_f_l_a_g=ON) or MIPS(TM) multiprocessing
  115.                     directives (_f_l_a_g=OFF).
  116.  
  117.  
  118.                     4.1.4  _N_e_w__-_O_P_T__S_u_b_o_p_t_i_o_n
  119.  
  120.                     The speculative_ptr_deref={ON/OFF} suboption to
  121.                     the -OPT compiler option allows speculative
  122.                     loads of memory locations that differ by a small
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.                                                - 3 -
  135.  
  136.  
  137.  
  138.                     offset from some referenced memory location.
  139.                     For more information, see the opt(5) man page.
  140.  
  141.  
  142.                     4.1.5  _T_a_r_g_e_t__O_p_t_i_o_n__G_r_o_u_p__C_o_n_t_r_o_l_s
  143.  
  144.                     The target option group has the following new
  145.                     controls:
  146.  
  147.                     dismiss_mem_faults=_f_l_a_g   Forces the kernel to
  148.                                               dismiss memory faults
  149.                                               that occur during
  150.                                               execution.
  151.  
  152.                     exc_max=_v_a_l_u_e             Specifies the maximum
  153.                                               set of IEEE-754
  154.                                               floating point
  155.                                               exceptions for which
  156.                                               traps can be enabled
  157.                                               at run time.
  158.  
  159.                     exc_min=_v_a_l_u_e             Specifies the minimum
  160.                                               set of IEEE-754
  161.                                               floating point
  162.                                               exceptions for which
  163.                                               traps must be enabled
  164.                                               at run time.
  165.  
  166.                     isa=_v_a_l_u_e                 Identifies the target
  167.                                               instruction set
  168.                                               architecture for
  169.                                               compilation.
  170.  
  171.                     sync=_f_l_a_g                 Enables or disables
  172.                                               the use of SYNC
  173.                                               instructions.
  174.  
  175.  
  176.                     4.1.6  _-_T_E_N_V__S_u_b_o_p_t_i_o_n
  177.  
  178.                     The large_got=ON/OFF suboption to the -TENV
  179.                     compiler option replaces the -avoid_gp_overflow
  180.                     and the -xgot options.
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.                                                - 4 -
  201.  
  202.  
  203.  
  204.                     4.2  _N_e_w__C_o_m_m_a_n_d_s__a_n_d__R_o_u_t_i_n_e_s
  205.  
  206.                     The following sections describe new commands and
  207.                     routines for the MIPSpro 7.3 FORTRAN 77
  208.                     compiler.
  209.  
  210.  
  211.                     4.2.1  _D_a_t_a__C_o_p_y_i_n_g__U_t_i_l_i_t_y
  212.  
  213.                     The fdcp(1) command is now available on IRIX
  214.                     systems.  This utility copies data and record
  215.                     structure from input to output.  For more
  216.                     details, see the fdcp(1) man page.
  217.  
  218.  
  219.                     4.2.2  _F_o_r_t_r_a_n__P_X_F__R_o_u_t_i_n_e_s
  220.  
  221.                     The following Fortran PXF interface routines are
  222.                     now available, although not yet documented:
  223.  
  224.                        PXFAINTGET
  225.                        PXFAINTSET
  226.                        PXFCLOSE
  227.                        PXFDUP
  228.                        PXFDUP2
  229.                        PXFEINTGET
  230.                        PXFEINTSET
  231.                        PXFGETISPEED
  232.                        PXFGETOSPEED
  233.                        PXFLSEEK
  234.                        PXFMKFIFO
  235.                        PXFSETISPEED
  236.                        PXFSETOSPEED
  237.                        PXFTCFLOW
  238.                        PXFTCFLUSH
  239.                        PXFTCGETATTR
  240.                        PXFTCGETPGRP
  241.                        PXFTCSENDBREAK
  242.                        PXFTCSETATTR
  243.                        PXFTCSETATTR
  244.                        PXFTCSETPGRP
  245.                        PXFSYSTEM
  246.                        PXFWRITE
  247.  
  248.  
  249.                     4.2.3  _U_s_e_r_-_C_a_l_l_a_b_l_e__C_o_n_v_e_r_s_i_o_n__R_o_u_t_i_n_e_s
  250.  
  251.                     The following user-callable conversion routines
  252.                     are now available:
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.                                                - 5 -
  267.  
  268.  
  269.  
  270.                     MIPS2IEG and IEG2MIPS       Conversion between
  271.                                                 generic IEEE data
  272.                                                 types and MIPS IEEE
  273.                                                 data types
  274.  
  275.                     MIPS2VAX and VAX2MIPS       Conversion between
  276.                                                 VAX(TM) data types
  277.                                                 and MIPS data types
  278.  
  279.  
  280.  
  281.                     4.3  _N_e_w__a_s_s_i_g_n__C_o_m_m_a_n_d__O_p_t_i_o_n_s
  282.  
  283.                     The following sections describe new options for
  284.                     the assign command.
  285.  
  286.  
  287.                     4.3.1  _D_a_t_a__C_o_n_v_e_r_s_i_o_n__O_p_t_i_o_n_s
  288.  
  289.                     The following data conversion options are now
  290.                     available on the assign command:
  291.  
  292.                        +o -N ieee_64
  293.  
  294.                        +o -N ieee_le
  295.  
  296.                        +o -N vax
  297.  
  298.  
  299.                     4.3.2  _F_F_I_O__L_a_y_e_r_s
  300.  
  301.                     The assign command now accepts the -F global
  302.                     option for global layers, the -F tmf option for
  303.                     tape layers, and the -F vms option for VAX/VMS
  304.                     files.
  305.  
  306.  
  307.                     4.3.3  _N_A_M_E_L_I_S_T _a_n_d _L_i_s_t-_D_i_r_e_c_t_e_d _I/_O
  308.                     _E_n_h_a_n_c_e_m_e_n_t_s
  309.  
  310.                     Comments that begin with an exclamation point
  311.                     (!) are now recognized in NAMELIST input
  312.                     records. For more information, see the assign
  313.                     command (-Y on/off option).
  314.  
  315.                     New options (-y, -S, -W, and -U) on the assign
  316.                     command control the NAMELIST and list-directed
  317.                     output statements.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.                                                - 6 -
  333.  
  334.  
  335.  
  336.                     4.4  _O_t_h_e_r__N_e_w__F_e_a_t_u_r_e_s
  337.  
  338.                     The following sections describe other new
  339.                     FORTRAN 77 features.
  340.  
  341.  
  342.                     4.4.1  _E_d_i_t__D_e_s_c_r_i_p_t_o_r__C_h_a_n_g_e_s
  343.  
  344.                     The following edit descriptor features are now
  345.                     supported:
  346.  
  347.                        +o The backslash (\) is now recognized as
  348.                          another carriage control indicator, as a
  349.                          synonym for the dollar sign ($).
  350.  
  351.                        +o The Q edit descriptor now returns the
  352.                          number of characters left in a formatted
  353.                          record.
  354.  
  355.                        +o An empty or zero field width is now a legal
  356.                          value in data edit descriptors such as I,
  357.                          B, O, Z, D, E, F, G, and L.  This feature
  358.                          includes some MIPS FORTRAN 77 extensions
  359.                          that came from VAX Fortran.  These are now
  360.                          pseudo standards.
  361.  
  362.  
  363.                     4.4.2  _N_e_g_a_t_i_v_e__F_l_o_a_t_i_n_g__P_o_i_n_t__Z_e_r_o
  364.  
  365.                     A negative floating point zero (-0.0) is now
  366.                     recognized for IEEE floating point systems.  The
  367.                     minus sign is suppressed.
  368.  
  369.  
  370.                     4.4.3  _S_u_p_e_r_c_o_m_p_u_t_i_n_g__A_P_I__S_u_p_p_o_r_t
  371.  
  372.                     The MIPSpro 7.3 release supports the
  373.                     Supercomputing Application Programming Interface
  374.                     (API), a set of language features and library
  375.                     functions that are implemented across the
  376.                     Silicon Graphics and Cray(TM) product line to
  377.                     meet the application portability needs of high-
  378.                     performance, technical computing customers.  For
  379.                     more information, see the online Supercomputing
  380.                     API document at the following URL:
  381.  
  382.                     http:/www.sgi.com/software/scapi.html
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.                                                - 7 -
  399.  
  400.  
  401.  
  402.                     4.4.4  _S_u_p_p_o_r_t__f_o_r__F_O_R_M_=_S_Y_S_T_E_M
  403.  
  404.                     Support has been added for FORM="SYSTEM" in OPEN
  405.                     and INQUIRE statements.
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.